<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h1>hello world</h1>
  <script>
    const obj={a:{b:{c:1}}}

    //连续解构赋值
    // const {a:{b:{c}}}=obj
    // console.log(c)

    
    //连续解构赋值，重命名
    const {a:{b:{c:data}}}=obj
    console.log(data)

  </script>
</body>
</html>